* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  color: #000;
  overflow-x: hidden;
  background: #fff;
}

/* Container wrapper for all content */
.page-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
  background: #fff;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.logo img {
  height: 55px;
  width: auto;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.brand-links {
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: #000;
}

.brand-links a {
  text-decoration: none;
  color: #000000;
  transition: color 0.3s;
}

.brand-links a:hover {
  color: #4a90e2;
}

.brand-links span {
  color: #000000;
}

nav {
  background: #f5f5f5;
  padding: 15px 30px;
  border-radius: 5px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: #000000;
  font-size: 13px;
  transition: all 0.3s ease;
  padding-bottom: 5px;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4a90e2;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #000;
  transform: translateY(-2px);
}


/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 30px;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section - Slideshow */
.hero {
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;
  background: #2d2d2d;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-position: center;
  display: block;
  background: #2d2d2d;
}

/* Service Section Styles */
.service-section {
  display: flex;
  padding: 60px 100px;
  gap: 100px;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
  background: #fff;
  margin: 0 220px;
}

.service-section.reverse {
  flex-direction: row-reverse;
}

.service-image {
  flex: 0 0 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-image img {
  max-width: 120%;
  height: auto;
}

.service-content {
  flex: 1;
}

.service-content h2 {
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: normal;
  text-transform: uppercase;
}

.service-content .right-text {
  line-height: 1.5;
  width: 600px;
}

.service-content .left-text {
  line-height: 1.5;
  width: 600px;
}

/* Exact color variations for section titles matching the images */
.service-content h2.yellow {
  color: #000;
  font-weight: 500;
}

.service-content h2.orange {
  color: #000;
  font-weight: 500;
  line-height: 1.5;
}

.service-content h2.blue {
  color: #000;
  font-weight: 500;
}

.service-content h2.green {
  color: #000;
  font-weight: 500;
}

.service-content h2.pink {
  color: #000;
  font-weight: 500;
}

.service-content h2.lightgreen {
  color: #000;
  font-weight: 500;
}

.service-content h2.purple {
  color: #000;
  font-weight: 500;
}

.service-content h2.amber {
  color: #000;
  font-weight: 500;
}

.service-content h2.tan {
  color: #000;
  font-weight: 500;
}

.service-content p {
  color: #000;
  line-height: 0.75;
  margin-bottom: 20px;
  font-size: 17px;
}

.service-content h3 {
  font-size: 18px;
  margin: 25px 0 15px 0;
  font-weight: bold;
  color: #000;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

/* Services heading gets underline in the same color as the section title */
.service-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;

}

.service-section:nth-of-type(1) .service-content h3::after {
  background: #d8e428;
  /* Strategy - yellow */
  height: 2px;
}




.service-section:nth-of-type(2) .service-content h3::after {
  background: #FFDD12;
  /* Learning Design - orange */
  height: 3px;
}

.service-section:nth-of-type(3) .service-content h3::after {
  background: #EF7C61;
  /* Delivery - blue */
  height: 3.5px;
}

.service-section:nth-of-type(4) .service-content h3::after {
  background: #6290FF;
  /* Advanced Tech - green */
  height: 3.5px;
}

.service-section:nth-of-type(5) .service-content h3::after {
  background: #B4FECB;
  /* Media - pink */
  height: 3.2px;
}

.service-section:nth-of-type(6) .service-content h3::after {
  background: #FF72D3;
  /* Assessment - amber */
  height: 3px;
}

.service-section:nth-of-type(7) .service-content h3::after {
  background: #FFA918;
  /* Accessibility - light green */
  height: 2.75px;
}

.service-section:nth-of-type(8) .service-content h3::after {
  background: #61cd46;
  /* Platforms - purple */
  height: 3px;
}

.service-section:nth-of-type(9) .service-content h3::after {
  background: #a90dc1;
  /* Analytics - amber */
  height: 3.5px;
}

.service-section:nth-of-type(10) .service-content h3::after {
  background: #B56329;
  /* Operations - tan */
  height: 3px;
}

.service-section:nth-of-type(11) .service-content h3::after {
  background: #CAB185;
  /* Modernization - blue */
  height: 3px;
}

.service-section:nth-of-type(12) .service-content h3::after {
  background: #4663B1;
  /* Modernization - blue */
  height: 3.5px;
}

.service-content ul {
  list-style: none;
  padding-left: 0;
}

.service-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #000;
  font-size: 14px;
  line-height: 1.6;
}

.service-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #000;
  font-weight: bold;
}

/* Contact Section */
.contact-section {
  padding: 40px 200px;
  background: #fff;
  border-top: 1px solid #fff;
  margin-top: 2px;

}

.contact-section h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #000;
  font-weight: bold;
}

.contact-section h2 .get {
  position: relative;
  padding-bottom: 5px;
}

.contact-section h2 .get::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #f5a623;
}

.contact-section h2 .touch {
  color: #f5a623;
  font-size: 40px;
}

.contact-section p {
  color: #000;
  font-size: 18px;
  line-height: 1;
  margin-bottom: 15px;
}

.contact-section .email {
  color: #f5a623;
  font-weight: bold;
  text-decoration: none;
}

.contact-section .phone {
  color: #f5a623;
  font-weight: bold;
  text-decoration: none;
}

/* Footer */

footer {
  background: #000;
  color: #fff;
  padding: 60px 100px 30px;
}

.footer-logo {
  margin-bottom: 50px;
  margin-left: -13px;
}

.footer-logo img {
  height: 65px;
  width: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-about-group {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-column h3 {
  font-size: 14px;
  margin-bottom: 20px;
  color: #fff;
  font-weight: normal;
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
  letter-spacing: 1px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul a {
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s;
}

.footer-column ul a:hover {
  color: #4a90e2;
}

.footer-column a,
.footer-column p {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  line-height: 1.8;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 50px;
  color: #fff;
  font-size: 12px;
}

/* Inner container to control width */
.footer-bottom-inner {
  margin: 0 auto;
  padding: 30px 0px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Left & Right text */
.footer-left,
.footer-right {
  margin: 0;
  white-space: nowrap;
}

.footer-icons {
  display: flex;
  justify-content: left;
  font-size: 0px;
  margin-top: 15px;
  gap: 10px;
}

/* Footer links */
.footer-right a {
  color: #fff;
  text-decoration: none;
}

.footer-right a:hover {
  color: #4a90e2;
}

/* TABLET & BELOW (≤1024px) */
@media (max-width: 1024px) {

  /* ---------- HEADER ---------- */
  header {
    padding: 20px 40px;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .logo {
    width: 100%;
    text-align: center;
  }

  .logo img {
    height: 55px;
  }

  .header-right {
    width: 100%;
    align-items: center;
  }

  .brand-links {
    justify-content: center;
    margin-bottom: 10px;
  }

  nav {
    width: 100%;
    padding: 12px 0;
  }

  nav ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  nav ul li {
    white-space: nowrap;
  }

  nav a {
    font-size: 12px;
    padding: 8px 10px;
  }

  .mobile-menu-toggle {
    display: none;
  }

  /* ---------- PAGE / HERO ---------- */
  .page-wrapper {
    max-width: 100%;
  }

  .hero {
    height: 300px;
  }

  /* ---------- SERVICES ---------- */
  .service-section {
    padding: 50px 60px;
    gap: 60px;
    margin: 0 80px;
  }

  .service-image {
    flex: 0 0 350px;
  }

  .service-image img {
    max-width: 100%;
  }

  .service-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .service-content .right-text,
  .service-content .left-text {
    width: 100%;
    max-width: 500px;
  }

  .service-content p {
    font-size: 16px;
    line-height: 1.6;
  }

  .service-content h3 {
    font-size: 17px;
    margin: 20px 0 12px 0;
  }

  .service-content ul li {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 6px;
  }

  /* ---------- CONTACT ---------- */
  .contact-section {
    padding: 40px 80px;
  }

  .contact-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .contact-section h2 .touch {
    font-size: 34px;
  }

  .contact-section p {
    font-size: 16px;
    line-height: 1.5;
  }
}

/* STRICTLY TABLET (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .service-section {
    display: grid !important;
    grid-template-columns: 1fr minmax(0, 700px) 1fr;
    padding: 50px 40px;
    gap: 0;
    margin: 0;
  }

  .service-content {
    display: contents;
  }

  .service-content h2 {
    grid-column: 2 / 3;
    order: 1;
    font-size: 32px;
    margin: 0 0 20px 0;
    text-align: left;
    width: 100%;
  }

  .service-image {
    grid-column: 2 / 3;
    order: 2;
    width: 100%;
    max-width: 500px;
    justify-self: center;
    margin: 0 0 30px 0;
  }

  .service-image img {
    max-width: 100%;
    height: auto;
  }

  .service-content .right-text,
  .service-content .left-text,
  .service-content p {
    grid-column: 1 / 4;
    order: 3;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0;
    font-size: 22px;
    line-height: 1.6;
    text-align: left;
  }

  .service-content h3 {
    grid-column: 2 / 3;
    order: 4;
    justify-self: start;
    margin: 10px 0 12px 0;
    font-size: 24px;
  }

  .service-content ul {
    grid-column: 2 / 3;
    order: 5;
    width: 100%;
    margin: 0 0 20px 0;
  }

  .service-content ul li {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 8px;
  }
}

/* MOBILE (≤768px) */
@media (max-width: 768px) {

  /* ---------- HEADER ---------- */
  header {
    position: relative;
    padding: 15px 20px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .hero-slide img {
    height: 140px;
  }

  .mobile-menu-toggle {
    position: absolute;
    left: 0px;
    display: flex;
  }

  .logo {
    width: 100%;
    text-align: center;
  }

  .logo img {
    height: 45px;
  }

  .header-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }

  .brand-links {
    font-size: 11px;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 10px;
    justify-content: center;
    flex-wrap: wrap;
    display: flex;
  }

  nav {
    width: 100%;
    background: transparent;
    padding: 0px 0px 10px 0px;
  }

  nav ul {
    display: none;
    padding: 0;
    margin: 0;
    background: none;
    border-radius: 0;
  }

  nav ul.active {
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    border-radius: 8px;
    margin-top: 12px;
    overflow: hidden;
  }

  nav ul li {
    border-bottom: 1px solid #e0e0e0;
  }

  nav ul li:last-child {
    border-bottom: none;
  }

  nav a {
    display: block;
    padding: 15px 20px;
    font-size: 14px;
    width: 100%;
    transition: transform 0.3s ease;
  }

  nav a::after {
    display: none;
  }

  nav a:hover {
    transform: scale(1.05);
  }

  /* ---------- HERO ---------- */
  .hero {
    height: 200px;
  }

  /* ---------- SERVICES ---------- */
  .service-section {
    flex-direction: column !important;
    flex-wrap: wrap;
    padding: 20px 20px 5px;
    gap: 0;
    margin: 0 20px;
    align-items: stretch;
  }

  .service-section.reverse {
    flex-direction: column !important;
  }

  .service-content {
    display: contents;
  }

  .service-content h2 {
    order: 1;
    font-size: 26px;
    margin-bottom: 14px;
    margin-top: 0;
    line-height: 1.3;
    width: 100%;
  }

  .service-image {
    order: 2;
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
    align-self: center;
    margin: 10px auto;
  }

  .service-image img {
    max-width: 100%;
    height: auto;
  }

  .service-content .right-text,
  .service-content .left-text,
  .service-content p {
    order: 3;
    width: 100% !important;
    max-width: 100% !important;
    line-height: 1.6;
    font-size: 18px;
    margin-bottom: 18px;
  }

  .service-content h3 {
    order: 4;
    font-size: 20px;
    margin: 12px 0 10px 0;
    display: inline-block;
    width: auto;
    align-self: flex-start;
  }

  .service-content ul {
    order: 5;
    padding-left: 0;
    width: 100%;
    margin-bottom: 5px;
  }

  .service-content ul li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 18px;
  }

  .img-2 {
    margin-left: auto;
    margin-right: auto;
  }

  .img-5 {
    margin-left: auto;
    margin-right: auto;
  }

  .img-11 {
    margin-left: auto;
    margin-right: auto;
  }

  .img-7 {
    margin-left: auto;
    margin-right: auto;
  }

  /* ---------- CONTACT ---------- */
  .contact-section {
    padding: 30px 20px;
  }

  .contact-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .contact-section h2 .touch {
    font-size: 28px;
  }

  .contact-section p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .contact-section .email,
  .contact-section .phone {
    display: inline-block;
    word-break: break-word;
  }

  /* ---------- FOOTER ---------- */
  footer {
    padding: 40px 20px 20px;
  }

  .footer-logo {
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-logo img {
    height: 55px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 30px;
  }

  .footer-column h3 {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .footer-column a,
  .footer-column p {
    font-size: 13px;
    line-height: 1.7;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 15px;
    padding: 25px 0;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    white-space: normal;
  }

  .footer-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* SMALL MOBILE (≤480px) */
@media (max-width: 480px) {

  .hero {
    height: 140px;
  }

  .service-section {
    padding: 30px 15px;
    margin: 0 10px 0 0;
    gap: 0;
  }

  .service-image {
    max-width: 100%;
  }

  .service-content h2 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .service-content p {
    font-size: 14px;
  }

  .service-content h3 {
    font-size: 15px;
  }

  .service-content ul li {
    font-size: 12px;
  }

  .contact-section {
    padding: 25px 15px;
  }

  .contact-section h2 {
    font-size: 20px;
  }

  .contact-section h2 .touch {
    font-size: 24px;
  }

  .contact-section p {
    font-size: 14px;
  }
}